package com.china08.yxyapi.service.yxweike;

import java.util.List;

import org.elasticsearch.index.query.BoolQueryBuilder;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.china08.yxyapi.entity.es.ElasticYxyResResource;

public interface YxyResWeikeService {

    Page<ElasticYxyResResource> findByBookContentAndLessonItemNot(String bookcontent, String lessonId, String keyword,
            Pageable pageable);

    List<ElasticYxyResResource> findByIdIn(List<String> ids);

    Page<ElasticYxyResResource> getPage(BoolQueryBuilder boolQueryBuilder, Pageable pageable);

}
